/**
 * @format
 */

import {AppRegistry, LogBox } from 'react-native';
import App from './App';
import './src/configs/global';
import './src/configs/native';
import {name as appName} from './app.json';
import axios from './src/net/axios';
import api from './src/net/api';
import './src/styles/typography';
import './src/styles/colors';
import Toast from 'react-native-root-toast';
import {logger} from "./src/utils/util";
global.axios = axios;
global.api = api;
global.Toast = Toast;
global.logger = logger;
AppRegistry.registerComponent(appName, () => App);

LogBox.ignoreLogs(['Warning: isMounted(...) is deprecated',
  'Module RCTImageLoader', 'Cannot connect', 'Warning:',
  'Possible Unhandled', 'Require cycles are allowed',
  'VirtualizedLists should never be nested',
  'Remote debugger is',
  'RNAMLocationManager',
  'RNAMGeocodeManager',
  'source.uri should not be']);

